package models

import "gorm.io/gorm"

type House struct {
	gorm.Model
	Community  string  `gorm:"type:varchar(100)" json:"community"`
	Name       string  `gorm:"type:varchar(100)" json:"name"`
	DoorNumber int     `gorm:"type:int" json:"door_number"`
	RoomNumber int     `gorm:"type:int" json:"room_number"`
	HouseType  string  `gorm:"type:varchar(100)" json:"house_type"`
	Standard   float64 `gorm:"type:decimal(10,2)" json:"standard"`
	Area       float64 `gorm:"type:decimal(10,2)" json:"area"`
	Rent       float64 `gorm:"type:decimal(10,2)" json:"rent"`
}
